package cn.donting.jme.event.scene;

import cn.donting.jme.editor.scene.Scene;
import cn.donting.jme.event.AbsEvent;
import lombok.Data;
import lombok.Getter;

import java.io.File;

/**
 * 场景保存时触发
 */
@Getter
public class SceneSaveEvent extends AbsEvent {
    private Scene scene;
    private File  file;

    public SceneSaveEvent(Object source, Scene scene, File file) {
        super(source);
        this.scene = scene;
        this.file = file;
    }
}
